package com.hzdl.house_mgr.mapper;

import com.hzdl.house_mgr.bean.Rent;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RentMapper {

    /*int insertRent(Rent rent);*/

    List<Rent> findAllByWhere(Rent rent);

    int getCountByWhere(Rent rent);

    //生成订单
    int getRent(Rent rent);

    Rent findRentByNum(String rentNum);
}
